package com.aaa.dao;

import com.aaa.entity.ViewTestResultSds;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * (ViewTestResultSds)表数据库访问层
 *
 * @author
 * @since 2022-07-08 10:00:04
 */
public interface ViewTestResultSdsDao {


    /**
     * 查询指定行数据
     *
     * @param viewTestResultSds 查询条件
     * @param pageable          分页对象
     * @return 对象列表
     */
    List<ViewTestResultSds> queryAllByLimit(@Param("viewTestResultSds") ViewTestResultSds viewTestResultSds, @Param("pageable") Pageable pageable);

    Long count(ViewTestResultSds viewTestResultSds);

    /**
     * @param viewTestResultSds
     * @return ViewTestResultFpa
     * @create by: feng (zhaixing@163.com)
     * @description: 根据指定id 查询对应数据
     * @create time: 2022/7/15 15:42
     */
    ViewTestResultSds queryResultSdsById(ViewTestResultSds viewTestResultSds);

    /**
     * @param
     * @return List<ViewTestResultSds>
     * @create by: feng (zhaixing@163.com)
     * @description: 查询所有信息
     * @create time: 2022/7/15 16:12
     */
    List<ViewTestResultSds> queryAllPlanSds();

    ViewTestResultSds selectResultSas(Integer testerId);

    /**
     * @param
     * @return
     * @create by: feng (zhaixing@163.com)
     * @description: 查询所有数据 排重
     * @create time: 2022/7/19 21:10
     */
    List<ViewTestResultSds> queryAllResultPlanSds();
    /**
     * @create by: feng (zhaixing@163.com)
     * @description: 删除测试结果
     * @create time: 2022/7/22 19:50
     * @param testerId
     * @return
     */
    Integer delResultSds(String testerId);
}

